package com.qys.livesMall.kafka.service;

import com.qys.livesMall.kafka.dao.shop.ShopBrowseRecordDao;
import com.qys.livesMall.kafka.entity.shop.ShopBrowseRecord;
import lombok.extern.slf4j.Slf4j;
import org.bson.json.JsonObject;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @menu RecordHandleServer
 * @date 2023/06/02 17:12
 */
@Slf4j
@Service
public class RecordHandleServer {

    @Autowired
    public ShopBrowseRecordDao shopBrowseRecordDao;

    public void handleShopBrowseRecord(ShopBrowseRecord record){
        shopBrowseRecordDao.save(record);
    }
}

